const express = require('express')
const UserController = require('../controller/UserController')
const setNewsController = require('../controller/setNewsController')

const router = express.Router()

router.post('/users', UserController.index)
router.post('/add', setNewsController.addModel)
router.post('/find', setNewsController.findModel)
router.get('/findList', setNewsController.findListModel)






module.exports = router